package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.vo.PageResult;
import com.itheima.pojo.entity.Student;
import com.itheima.pojo.dto.StudentQuery;

import java.util.List;

public interface StudentService extends IService<Student> {
    PageResult page(StudentQuery studentQuery);

    void delete(List<Integer> ids);

    void saveStudent(Student student);

    Student findById(Integer id);

    void update(Student student);

    void violation(Integer id, Integer score);
}
